const express = require('express')

const app = express()

app.use(express.static('./pages'))

app.get('/', (req, res) => {
  res.send('helloworld')
})

app.listen(3000, () => {
  console.log('server is running in port 3000')
})